package com.atguigu.mapper;

import com.atguigu.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import com.atguigu.pojo.Employee;

import java.util.List;

@Mapper
public interface EmployeeMappers {

    List<Employee> getAllEmployee();

    List<Dept> getAllDeptEmployee();

    Dept getDeptById(Integer id);

    Employee getEmployeeById(Integer id);
}
